package com.zsc.common.web.controller;

import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by xbkaishui on 17/3/16.
 */
@RestController
@CrossOrigin
public class HeartBeatController {

    @GetMapping(value = "/stats")
    public String heartBeat() {
        return "ok";
    }

}
